﻿using System;
using System.Configuration;
using System.Web;

namespace Shuba.Web
{
    public partial class download_spada : basePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                string acl = GetUserAccess("DOWNLOAD_SPADA");
                if (!IsUserView(acl))
                {
                    string msg = this.GetGlobalResourceObject("Messages", "NoPrivilege").ToString();
                    AlertAndRedirect(msg, ResolveUrl(ConfigurationManager.AppSettings["default_url"]));
                }
            }
        }
    }
}